setIconifiedByDefault

open fun setIconifiedByDefault(iconified: Boolean)(source)

Sets the default or resting state of the search field. If true, a single search icon is shown by default and expands to show the text field and other buttons when pressed. Also, if the default state is iconified, then it collapses to that state when the close button is pressed. Changes to this property will take effect immediately.

The default value is true.

Parameters

iconified

whether the search field should be iconified by default iconifiedByDefault